package com.dwa.persistent.dao;

import java.util.Date;
import java.util.List;

import com.dwa.domain.INews;
import com.dwa.persistent.IAbstractDao;
import com.dwa.persistent.PersistentException;

public interface INewsDao extends IAbstractDao {

	public List<INews> getNews() throws PersistentException;

	public INews createNews(INews news) throws PersistentException;

	public INews updateNews() throws PersistentException;

	public INews deleteNews() throws PersistentException;

	public INews getNewsByNewsId(Long newsId) throws PersistentException;
	
	public List<INews> getNewsByNewsDate(Date date) throws PersistentException ;
}
